package com.demo.base.bean;

import lombok.Data;

import java.io.Serializable;

/**
 * 分页查询参数【请勿使用】
 * Created by ethan on 2017/1/13.
 */
@Data
public class PagedInput implements Serializable {

    /**
     * 每页数量
     */
    private Integer size = 20;

    /**
     * 当前页码
     */
    private Integer page = 1;


    public PagedInput() {
    }

    public PagedInput(Integer size, Integer page) {
        this.size = size;
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }
}
